.class public Lcom/wqmobile/sdk/protocol/g;
.super Ljava/lang/Object;


# instance fields
.field private a:Lcom/wqmobile/sdk/protocol/cmd/c;

.field private b:Ljava/lang/String;

.field private c:I


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public constructor <init>(Lcom/wqmobile/sdk/protocol/d;Lcom/wqmobile/sdk/protocol/cmd/c;Ljava/lang/String;I)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p3, p0, Lcom/wqmobile/sdk/protocol/g;->b:Ljava/lang/String;

    iput-object p2, p0, Lcom/wqmobile/sdk/protocol/g;->a:Lcom/wqmobile/sdk/protocol/cmd/c;

    iput p4, p0, Lcom/wqmobile/sdk/protocol/g;->c:I

    return-void
.end method

.method public static a(Lcom/wqmobile/sdk/protocol/cmd/c;Ljava/lang/String;)Lcom/wqmobile/sdk/protocol/cmd/WQCommandContent;
    .locals 2

    invoke-virtual {p1}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    new-instance v1, Lcom/wqmobile/sdk/protocol/cmd/WQCommandContent;

    invoke-direct {v1}, Lcom/wqmobile/sdk/protocol/cmd/WQCommandContent;-><init>()V

    invoke-virtual {v1, p0}, Lcom/wqmobile/sdk/protocol/cmd/WQCommandContent;->a(Lcom/wqmobile/sdk/protocol/cmd/c;)V

    invoke-virtual {v1, v0}, Lcom/wqmobile/sdk/protocol/cmd/WQCommandContent;->b([B)V

    return-object v1
.end method

.method public static a(Ljava/lang/String;)Lcom/wqmobile/sdk/protocol/cmd/WQCommandContent;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "<Resource><ResourceID>"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "</ResourceID></Resource>"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sget-object v1, Lcom/wqmobile/sdk/protocol/cmd/c;->i:Lcom/wqmobile/sdk/protocol/cmd/c;

    invoke-static {v1, v0}, Lcom/wqmobile/sdk/protocol/g;->a(Lcom/wqmobile/sdk/protocol/cmd/c;Ljava/lang/String;)Lcom/wqmobile/sdk/protocol/cmd/WQCommandContent;

    move-result-object v0

    return-object v0
.end method

.method public static a(I)Lcom/wqmobile/sdk/protocol/cmd/WQRDRCVContent;
    .locals 1

    new-instance v0, Lcom/wqmobile/sdk/protocol/cmd/WQRDRCVContent;

    invoke-direct {v0}, Lcom/wqmobile/sdk/protocol/cmd/WQRDRCVContent;-><init>()V

    invoke-virtual {v0, p0}, Lcom/wqmobile/sdk/protocol/cmd/WQRDRCVContent;->a(I)V

    return-object v0
.end method


# virtual methods
.method public final a()Lcom/wqmobile/sdk/protocol/cmd/c;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/g;->a:Lcom/wqmobile/sdk/protocol/cmd/c;

    return-object v0
.end method

.method public final b()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/g;->b:Ljava/lang/String;

    return-object v0
.end method

.method public final c()I
    .locals 1

    iget v0, p0, Lcom/wqmobile/sdk/protocol/g;->c:I

    return v0
.end method
